package com.example.choupaiapp.main.bean

import java.io.Serializable
import java.math.BigDecimal

/**
 * Created by ASUS on 2020/5/12.
 */
class UserInfoBean : Serializable {
    /**
     * msg : success
     * code : 0
     * user : {"userId":1,"nickname":"酒窝没酒怪我咯","mobile":"15035101623","sex":1,"birthday":"2019-10-23","balance":979,"signature":"不知道","address":"","occupation":"","avatar":"http://qiniu.qmdl666.com/26138401N201910211681019.jpg?imageView2/1/w/100/h/100","official":0,"attentionSum":3,"fansSum":0,"contentHidden":0,"inviteUserId":null,"inviteCode":null,"backgroundImg":null,"signInDay":1,"energy":3000,"inviteStatus":null,"isPush":0,"createTime":"2019-10-21 09:17:46","updateTime":"2019-11-20T08:18:47.000 0000","wechatOpenid":"123","qqOpenid":"QQopenId","sinaOpenid":"微博openId","appleOpenid":"苹果openId","mobileCode":null,"isAttention":null,"likeContentCount":0,"commentCount":0,"isSignIn":1}
     */

    private var msg: String? = null
    private var code: Int = 0
    private var user: UserBean? = null
    private var countUpdateName: Int = 0
    private var isStandardLook: Int = 0
    private var isInvite: Int = 0
    private var isInvitePublishTitle: Int = 0

    fun getIsInvitePublishTitle(): Int {
        return isInvitePublishTitle
    }

    fun setIsInvitePublishTitle(isInvitePublishTitle: Int) {
        this.isInvitePublishTitle = isInvitePublishTitle
    }

    fun getIsInvite(): Int {
        return isInvite
    }

    fun setIsInvite(isInvite: Int) {
        this.isInvite = isInvite
    }

    fun getIsStandardLook(): Int {
        return isStandardLook
    }

    fun setIsStandardLook(isStandardLook: Int) {
        this.isStandardLook = isStandardLook
    }

    fun getCountUpdateName(): Int {
        return countUpdateName
    }

    fun setCountUpdateName(countUpdateName: Int) {
        this.countUpdateName = countUpdateName
    }

    fun getMsg(): String? {
        return msg
    }

    fun setMsg(msg: String) {
        this.msg = msg
    }

    fun getCode(): Int {
        return code
    }

    fun setCode(code: Int) {
        this.code = code
    }

    fun getUser(): UserBean? {
        return user
    }

    fun setUser(user: UserBean) {
        this.user = user
    }

    class UserBean : Serializable {
        /**
         * userId : 1
         * nickname : 酒窝没酒怪我咯
         * mobile : 15035101623
         * sex : 1
         * birthday : 2019-10-23
         * balance : 979
         * signature : 不知道
         * address :
         * occupation :
         * avatar : http://qiniu.qmdl666.com/26138401N201910211681019.jpg?imageView2/1/w/100/h/100
         * official : 0
         * attentionSum : 3
         * fansSum : 0
         * contentHidden : 0
         * inviteUserId : null
         * inviteCode : null
         * backgroundImg : null
         * signInDay : 1
         * energy : 3000
         * inviteStatus : null
         * isPush : 0
         * createTime : 2019-10-21 09:17:46
         * updateTime : 2019-11-20T08:18:47.000 0000
         * wechatOpenid : 123
         * qqOpenid : QQopenId
         * sinaOpenid : 微博openId
         * appleOpenid : 苹果openId
         * mobileCode : null
         * isAttention : null
         * likeContentCount : 0
         * commentCount : 0
         * isSignIn : 1
         */

        private var userId: Int = 0
        private var nickname: String? = null
        private var mobile: String? = null
        private var sex: Int = 0
        private var birthday: String? = null
        private var balance: BigDecimal? = null
        private var signature: String? = null
        private var address: String? = null
        private var occupation: String? = null
        private var avatar: String? = null
        private var official: Int = 0
        private var attentionSum: Int = 0
        private var fansSum: Int = 0
        private var contentHidden: Int = 0
        private var inviteUserId: Int = 0
        private var inviteCode: String? = null
        private var backgroundImg: String? = null
        private var signInDay: Int = 0
        private var energy: Int = 0
        private var inviteStatus: Any? = null
        private var isPush: Int = 0
        private var createTime: String? = null
        private var updateTime: String? = null
        private var wechatOpenid: String? = null
        private var qqOpenid: String? = null
        private var sinaOpenid: String? = null
        private var appleOpenid: String? = null
        private var mobileCode: Any? = null
        private var isAttention: Int = 0
        private var likeContentCount: Int = 0
        private var commentCount: Int = 0
        private var isSignIn: Int = 0
        private var isPhoneBook: Int = 0
        private var isApply: Int = 0
        private var age: String? = null

        fun getAge(): String? {
            return age
        }

        fun setAge(age: String) {
            this.age = age
        }

        fun getIsApply(): Int {
            return isApply
        }

        fun setIsApply(isApply: Int) {
            this.isApply = isApply
        }

        fun getIsPhoneBook(): Int {
            return isPhoneBook
        }

        fun setIsPhoneBook(isPhoneBook: Int) {
            this.isPhoneBook = isPhoneBook
        }

        fun getUserId(): Int {
            return userId
        }

        fun setUserId(userId: Int) {
            this.userId = userId
        }

        fun getNickname(): String? {
            return nickname
        }

        fun setNickname(nickname: String) {
            this.nickname = nickname
        }

        fun getMobile(): String? {
            return mobile
        }

        fun setMobile(mobile: String) {
            this.mobile = mobile
        }

        fun getSex(): Int {
            return sex
        }

        fun setSex(sex: Int) {
            this.sex = sex
        }

        fun getBirthday(): String? {
            return birthday
        }

        fun setBirthday(birthday: String) {
            this.birthday = birthday
        }

        fun getBalance(): BigDecimal? {
            return balance
        }

        fun setBalance(balance: BigDecimal) {
            this.balance = balance
        }

        fun getSignature(): String? {
            return signature
        }

        fun setSignature(signature: String) {
            this.signature = signature
        }

        fun getAddress(): String? {
            return address
        }

        fun setAddress(address: String) {
            this.address = address
        }

        fun getOccupation(): String? {
            return occupation
        }

        fun setOccupation(occupation: String) {
            this.occupation = occupation
        }

        fun getAvatar(): String? {
            return avatar
        }

        fun setAvatar(avatar: String) {
            this.avatar = avatar
        }

        fun getOfficial(): Int {
            return official
        }

        fun setOfficial(official: Int) {
            this.official = official
        }

        fun getAttentionSum(): Int {
            return attentionSum
        }

        fun setAttentionSum(attentionSum: Int) {
            this.attentionSum = attentionSum
        }

        fun getFansSum(): Int {
            return fansSum
        }

        fun setFansSum(fansSum: Int) {
            this.fansSum = fansSum
        }

        fun getContentHidden(): Int {
            return contentHidden
        }

        fun setContentHidden(contentHidden: Int) {
            this.contentHidden = contentHidden
        }

        fun getInviteUserId(): Int {
            return inviteUserId
        }

        fun setInviteUserId(inviteUserId: Int) {
            this.inviteUserId = inviteUserId
        }

        fun getInviteCode(): String? {
            return inviteCode
        }

        fun setInviteCode(inviteCode: String) {
            this.inviteCode = inviteCode
        }

        fun getBackgroundImg(): String? {
            return backgroundImg
        }

        fun setBackgroundImg(backgroundImg: String) {
            this.backgroundImg = backgroundImg
        }

        fun getSignInDay(): Int {
            return signInDay
        }

        fun setSignInDay(signInDay: Int) {
            this.signInDay = signInDay
        }

        fun getEnergy(): Int {
            return energy
        }

        fun setEnergy(energy: Int) {
            this.energy = energy
        }

        fun getInviteStatus(): Any? {
            return inviteStatus
        }

        fun setInviteStatus(inviteStatus: Any) {
            this.inviteStatus = inviteStatus
        }

        fun getIsPush(): Int {
            return isPush
        }

        fun setIsPush(isPush: Int) {
            this.isPush = isPush
        }

        fun getCreateTime(): String? {
            return createTime
        }

        fun setCreateTime(createTime: String) {
            this.createTime = createTime
        }

        fun getUpdateTime(): String? {
            return updateTime
        }

        fun setUpdateTime(updateTime: String) {
            this.updateTime = updateTime
        }

        fun getWechatOpenid(): String? {
            return wechatOpenid
        }

        fun setWechatOpenid(wechatOpenid: String) {
            this.wechatOpenid = wechatOpenid
        }

        fun getQqOpenid(): String? {
            return qqOpenid
        }

        fun setQqOpenid(qqOpenid: String) {
            this.qqOpenid = qqOpenid
        }

        fun getSinaOpenid(): String? {
            return sinaOpenid
        }

        fun setSinaOpenid(sinaOpenid: String) {
            this.sinaOpenid = sinaOpenid
        }

        fun getAppleOpenid(): String? {
            return appleOpenid
        }

        fun setAppleOpenid(appleOpenid: String) {
            this.appleOpenid = appleOpenid
        }

        fun getMobileCode(): Any? {
            return mobileCode
        }

        fun setMobileCode(mobileCode: Any) {
            this.mobileCode = mobileCode
        }

        fun getIsAttention(): Int {
            return isAttention
        }

        fun setIsAttention(isAttention: Int) {
            this.isAttention = isAttention
        }

        fun getLikeContentCount(): Int {
            return likeContentCount
        }

        fun setLikeContentCount(likeContentCount: Int) {
            this.likeContentCount = likeContentCount
        }

        fun getCommentCount(): Int {
            return commentCount
        }

        fun setCommentCount(commentCount: Int) {
            this.commentCount = commentCount
        }

        fun getIsSignIn(): Int {
            return isSignIn
        }

        fun setIsSignIn(isSignIn: Int) {
            this.isSignIn = isSignIn
        }
    }
}